package org.txazo.music.util;

/**
 * 常量工具类
 * 
 * @author Tu XiaoZhou
 * @since 2013-04-12
 * 
 */
public class ConstantsUtil {

	public static final int COOKIE_MAXAGE = 2592000;

	public static final int DATE_HOUR_MILLIS = 3600000;

	public static final String CHARACTER_ENCODING_GBK = "GBK";
	public static final String CHARACTER_ENCODING_GB2312 = "GB2312";
	public static final String CHARACTER_ENCODING_UTF_8 = "UTF-8";
	public static final String CHARACTER_ENCODING_UTF_16 = "UTF-16";
	public static final String CHARACTER_ENCODING_ISO_8859_1 = "ISO-8859-1";

	public static final long UPLOAD_MUSIC_MAXSIZE = 400000000;
	public static final String UPLOAD_MUSIC_SAVEPATH = "/upload/music";
	public static final String UPLOAD_MUSIC_ALLOWTYPES = "audio/mp3";

	public static final String[] STATIC_RESOURCES_SUFFIX = { "html", "css",
			"js", "jpg", "jpeg", "gif", "png", "ico" };

	public static final String STRING_DIT = ".";

}
